/**
AirwayPathfinder for X-Plane Flight Simulator. Calculates the shortest path between two NavAids. 
Copyright (C) 2011  Nils Buletta

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 **/

package de.buletta.airwaypathfinder;

import org.jdesktop.swingx.mapviewer.Waypoint;

/**
 * Represents an Airport.
 * 
 * @author Nils Buletta
 * @version 0.1
 */
public class Airport extends Waypoint {
	private String identifier;
	private String name;

	public Airport() {
	}

	/**
	 * Returns the identifier of the Airport.
	 * 
	 * @return - the identifier
	 * @see setIdentifier(String identifier)
	 */
	public String getIdentifier() {
		return identifier;
	}

	/**
	 * Sets the identifier of the Airport.
	 * 
	 * @param identifier
	 *            - the identifier of the Airport
	 * @see getIdentifier()
	 */
	public void setIdentifier(String identifier) {
		this.identifier = identifier;
	}

	/**
	 * Returns the name of the Airport.
	 * 
	 * @return - the name of the Airport
	 * @see setName(String name)
	 */
	public String getName() {
		return name;
	}

	/**
	 * Sets the name of the Airport.
	 * 
	 * @param name
	 *            - the name of the Airport
	 * @see getName()
	 */
	public void setName(String name) {
		this.name = name;
	}
}
